package com.mathset.business.service;

import org.springframework.validation.BindingResult;

import com.mathset.bean.Member;

public interface IMemberService {

	public void addMemberAndMailBox(Member member);
	
	public Member retrieveMemberByUserNameAndPassword(String userName, String password);
	
	public Member retrieveMemberByUserNameOrMaidId(String userName, String password);

	public boolean isValidRegister(Member member, BindingResult bindingResult);

	public boolean isValidMember(Member member, BindingResult bindingResult);
	
	public Member retrieveMemberByMailAddress(String email);
}
